package com.ys.service.business;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

/**
 * 商品备案申请
 */
public interface TpProductBqService {

	//商品备案申请新增
	R add(Map<String, Object> params,String subData) throws Exception ;

	//商品备案申请修改
	R update(Map<String, Object> params,String subData) throws Exception ;

	//商品备案申请删除
	R del(List<String> idList);

	R delete(Long id);


	//参数验证
	String checkParams(Map<String, Object> params, Long menuId) throws Exception ;

	R flowPass(Long id, String loginUserId) throws Exception;

	R flowRefuse(Long id, String reason, String loginUserId) throws Exception;
	R flowInit(Long id, String reason, String loginUserId) throws Exception;

	//批量导入
	R importInfo(String rows,Long menuId);


	//获取列表数据
	Map<String,Object> getExtraParam( String bid) throws Exception;



	//批量导入-优品
	R importInfoYp(String rows,Long menuId)throws Exception;



}